﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MiniIOC.IOCLIbs
{
    public static class ServiceCollectionExtentions
    {
        public static ServiceProvider BuildServiceProvider(this IServiceCollection services)
        {
            IServiceProviderFactory factory = new ServiceProviderFactory(services);

            return factory.CreateServiceProvider();
        }
    }
}
